package com.huaxin.hxmodulemqtt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync //配置异步支持
@SpringBootApplication
@MapperScan("com.huaxin.hxmodulemqtt.mapper")
@EnableFeignClients(basePackages = "com.huaxin.feignclient")
@ComponentScan(basePackages = {
        "com.huaxin.hxmodulemqtt",
        "com.huaxin.hxredis",
        "com.hx.hxmybatisplus"})
public class HxModuleMqttApplication {

    public static void main(String[] args) {
        SpringApplication.run(HxModuleMqttApplication.class, args);
    }

}
